import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    showHeader:true,
    showNav:true
  },
  mutations: {
    setshowHeader(state,playload){
      state.showHeader=playload.showHeader;
    },
    setshowNav(state,playload){
      state.showNav=playload.showNav;
    }
  },
  actions: {

  }
})
